#pragma once

#include<QtWidgets/QMainWindow>
#include"ui_excdom.h"
#include"about.h"

class Excdom : public QMainWindow {
    Q_OBJECT

public:
    Excdom(QWidget *parent = Q_NULLPTR);

    void InitRNG();
    void ResetNumber();
    void MakeNumber();
    void NumberDisSetText(const std::string &type, const QString &text);

    void changedAlgor(int method);

    void fileIncluded(const std::string &currentFileName);

    QTimer *CountDownTimer;

    QLabel *statusSum, *statusDone, *statusInfor;

public slots:
    void TimeCountDown();

private:
    Ui::ExcdomClass ui;

private slots:
    void on_MakeNumber_clicked();
    void on_ResetNumber_clicked();
    
    void on_RefreshListBut_clicked();
    void on_NameListCom_IndexChanged(const int &argv);
    
    void on_QuitAct_triggered();

    void on_CmpFileHash_triggered();

    void on_actionAlgorforList_triggered();
    void on_actionSqMethod_triggered();
    void on_actionLinMod_triggered();
    void on_actionMT19937_triggered();

    void on_checkRmSame_clicked(bool checked);

    void on_AboutExd_triggered(bool flag);

protected:
    void closeEvent(QCloseEvent *event);
};
